package com.yoomiito.app.model.cicle;

/************************************************************
 * Author:  linqiang
 * Description:     // 模块描述
 * Date: 2019/4/30
 ************************************************************/
public class ImageBean {
    private String imagePath;
    private String url;
    private boolean isAdd;
    private boolean isLocalImage;

    public ImageBean(String imagePath, boolean isAdd,boolean isLocalImage) {
        this.isAdd = isAdd;
        this.isLocalImage = isLocalImage;
        if (isLocalImage) {
            this.imagePath = imagePath;
        }else{
            this.url = imagePath;
        }
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public boolean isAdd() {
        return isAdd;
    }

    public void setAdd(boolean add) {
        isAdd = add;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isLocalImage() {
        return isLocalImage;
    }

    public void setLocalImage(boolean localImage) {
        isLocalImage = localImage;
    }
}
